<div class="view">

	<b>
		<?php
		$text = CHtml::encode($data->name);
		echo CHtml::link($text, array('view', 'id'=>$data->_id));
		?>
	</b>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('callSign')); ?>:</b>
	&quot;<?php echo CHtml::encode($data->callSign); ?>&quot;
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('code')); ?>:</b>
	<?php echo CHtml::encode($data->code); ?>
	<br />

	<?php
	if (!Yii::app()->user->isGuest) {
		$baseUrl = Yii::app()->request->baseUrl . '/images/fugue';
		$properties = array(
			'items'=>array(
				array(
					'label'=>"<img src=\"$baseUrl/magnifier.png\" />",
					'url'=>array('view', 'id'=>$data->_id),
					'linkOptions'=>array('title'=>'Lihat'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/pencil.png\" />",
					'url'=>array('update', 'id'=>$data->_id),
					'linkOptions'=>array('title'=>'Ubah'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/cross-script.png\" />",
					'url'=>'#',
					'linkOptions'=>array(
						'submit'=>array(
							'delete',
							'id'=>$data->_id
						),
						'title'=>'Hapus',
						'confirm'=>'Anda yakin ingin menghapus data ini?'
					)
				),
				array(
					'label'=>"<img src=\"$baseUrl/image--plus.png\" />",
					'url'=>array('memberImage/create', 'memberId'=>$data->_id),
					'linkOptions'=>array('title'=>'Tambah Gambar'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/calendar--plus.png\" />",
					'url'=>array('memberDate/create', 'memberId'=>$data->_id),
					'linkOptions'=>array('title'=>'Tambah Tanggal'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/map--plus.png\" />",
					'url'=>array(
						'memberAddress/create',
						'memberId'=>$data->_id
					),
					'linkOptions'=>array('title'=>'Tambah Alamat'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/card--plus.png\" />",
					'url'=>array(
						'memberIdentity/create',
						'memberId'=>$data->_id
					),
					'linkOptions'=>array('title'=>'Tambah Identitas'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/headphone--plus.png\" />",
					'url'=>array(
						'memberEquipment/create',
						'memberId'=>$data->_id
					),
					'linkOptions'=>array('title'=>'Tambah Peralatan'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/balloon--plus.png\" />",
					'url'=>array(
						'memberIm/create',
						'memberId'=>$data->_id
					),
					'linkOptions'=>array('title'=>'Tambah Instant Messenger'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/tag--plus.png\" />",
					'url'=>array(
						'memberIndication/create',
						'memberId'=>$data->_id
					),
					'linkOptions'=>array('title'=>'Tambah Sinyalemen'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/store--plus.png\" />",
					'url'=>array(
						'memberOrganization/create',
						'memberId'=>$data->_id
					),
					'linkOptions'=>array('title'=>'Tambah Organisasi'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/mobile-phone--plus.png\" />",
					'url'=>array(
						'memberPhone/create',
						'memberId'=>$data->_id
					),
					'linkOptions'=>array('title'=>'Tambah Telepon'),
				),
				array(
					'label'=>"<img src=\"$baseUrl/marker--plus.png\" />",
					'url'=>array(
						'memberUrl/create',
						'memberId'=>$data->_id
					),
					'linkOptions'=>array('title'=>'Tambah Situs'),
				),
			),
			'htmlOptions'=>array(
				'class'=>'actions',
			),
			'encodeLabel'=>false,
		);
		$this->widget('zii.widgets.CMenu', $properties);
	}
	?>

	<div style="clear: both;"></div>

</div>